import axios from 'axios';
const service = axios.create({
    baseURL:process.env.VUE_APP_SERVER
})
axios.interceptors.request.use((config: any)=>{
    console.log('请求参数',config)
    return config
},(err: any)=>{
    return Promise.reject(err)
})
axios.interceptors.response.use((config: any)=>{
    console.log('响应参数',config)

    return config
},(err: any)=>{

    return Promise.reject(err)
})
export default  service;